#include <dllentry.h>
#include <hook.h>
#include <log.h>
#include <Net/NetworkIdentifier.h>

DEF_LOGGER("NoEncryption");

void dllenter() {}
void dllexit() {}

THook(
    void **,
    "?getEncryptedPeerForUser@NetworkHandler@@QEAA?AV?$weak_ptr@VEncryptedNetworkPeer@@@std@@AEBVNetworkIdentifier@@@Z",
    void *self, void **ret, void *id) {
  ret[0] = ret[1] = 0;
  return ret;
}